21 APR 2011 by ideonexus

 Joe Armstrong on OOP

think the lack of reusability comes in object-oriented mguages, not in functional languages. Because the problem with object-oriented languages is they've got all this implicit environment that they carry around with them. Vou i wanted a banana but what you got was a gorilla holding the banana and the entire jungle. If you have referentially transparent code, if you have pure iinctions—ail the data comes in its input arguments and everything goes out and leaves no state behind—it's incr...
  1  notes

The problem with Object Oriented Programming is that it forces you to take a larger collection of properties when all you want is a smaller subset.